using UnityEngine;
using System.Collections;

public class Bubble : MonoBehaviour
{
	private float maximumBubbleVelocityRange = 2f;
	private float indentifyXVector  = -1.5f;
		// Use this for initialization
		void Start (){
			float directionY = Random.Range(-0.5f,0.5f);
			float velocityX = Random.Range(1f,maximumBubbleVelocityRange);
		//Debug.Log("v vector "+indentifyXVector+ " "+velocityY );
		rigidbody2D.velocity = new Vector2(indentifyXVector * velocityX,directionY);	
			
		}
	
		// Update is called once per frame
		void Update (){
	
		}
}

